package com.sugon.entity;

import com.alibaba.fastjson.annotation.JSONField;

public  class PackageHead{

    /**
     * 版本号
     */

    @JSONField(name = "VERSION",ordinal = 1)
    private String version;

    /**
     * 数据发送单位代码
     */
    @JSONField(name = "SEND_UNIT_CODE",ordinal = 2)
    private String sendUnitCode;

    /**
     * 数据发送单位名称
     */
    @JSONField(name = "SEND_UNIT_NAME",ordinal = 3)
    private String sendUnitName;

    /**
     * 数据文件总记录数，不超过11位数字字符组成
     */
    @JSONField(name = "RECORD_NUM",ordinal = 4)
    private long recordNum;

    /**
     * 数据文件总记录数
     */
    @JSONField(name = "DATA_FILENUM",ordinal = 5)
    private Integer dataFileNum;

    /**
     * zip中附属文件的个数
     */
    @JSONField(name = "ATTACHED_NUM",ordinal = 6)
    private int attachedNum;

    /**
     * 数据包编号：14位时间串+自定义索引码，0001开始，步长为1，顺序累加
     */
    @JSONField(name = "MESSAGE_SEQUENCE",ordinal = 7)
    private String messageSequence;

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getSendUnitCode() {
        return sendUnitCode;
    }

    public void setSendUnitCode(String sendUnitCode) {
        this.sendUnitCode = sendUnitCode;
    }

    public String getSendUnitName() {
        return sendUnitName;
    }

    public void setSendUnitName(String sendUnitName) {
        this.sendUnitName = sendUnitName;
    }

    public long getRecordNum() {
        return recordNum;
    }

    public void setRecordNum(long recordNum) {
        this.recordNum = recordNum;
    }

    public Integer getDataFileNum() {
        return dataFileNum;
    }

    public void setDataFileNum(Integer dataFileNum) {
        this.dataFileNum = dataFileNum;
    }

    public int getAttachedNum() {
        return attachedNum;
    }

    public void setAttachedNum(int attachedNum) {
        this.attachedNum = attachedNum;
    }

    public String getMessageSequence() {
        return messageSequence;
    }

    public void setMessageSequence(String messageSequence) {
        this.messageSequence = messageSequence;
    }
}